import img from '@img/all.png'
import styled from 'styled-components'
export const Wrap = styled.div<{
	height?: number
}>`
	display: flex;
	flex-direction: row;
	align-items: center;
	height: ${(props) => {
		return props.height ? `${props.height}px` : '30px'
	}};
`
export const BtnWrap = styled.div`
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 28px;
	.showModel {
		width: 100%;
		padding-left: 10px;
	}
	.time {
		margin: 0 10px 0 10px;
	}
`
export const Label = styled.div`
	width: 170px;
`
export const Separator = styled.div`
	border: medium none;
	border-bottom: 1px solid #949799;
	border-width: 1px 0;
	margin: 8px 0 0 0;
	overflow: hidden;
	width: 100%;
	margin-right: 30px;
`
export const SeparatorDot = styled.div`
	border: medium none;
	border-bottom: 1px dotted #949799;
	border-width: 1px 0;
	margin: 8px 0 0 0;
	overflow: hidden;
	width: 100%;
	margin-right: 30px;
`
export const addSms = styled.div`
	width: 66px;
`
export const StyledPollSelectItem = styled.div`
	height: 100%;
	position: relative;
	padding-left: 20px;
	.select-icon {
		height: 7px;
		left: 0;
		position: absolute;
		top: 10px;
		width: 10px;
	}
	&.selected .select-icon {
		background-image: url(${img});
		background-position: -10px -654px;
	}
	.delete-icon {
		float: right;
		display: none;
		cursor: pointer;
	}
	&:hover .delete-icon {
		display: inline-block;
	}
`
export const StyledPlanModal = styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 80px;
	.label {
		width: 50px;
		margin-right: 5px;
	}
	.savePlan {
		margin-left: 8px;
	}
`
